package com.practice2.exercise.register1;
import com.practice2.exercise.register.register;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class registerTest {
    @Test
    public void Test() {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("register.xml");
        register bean = (register) applicationContext.getBean("register");
        System.out.println(bean);
    }
}